AppHandle<'error, 'value>Type

PackageAxial
Owns one running root workflow and provides coordinated application shutdown.

Specification

Kind
Type
Members
3
Examples
0
StopSignature
this.Stop
StatusSignature
this.Status
CompletionSignature
this.Completion

Summary

NameSignatureSynopsis
Stopthis.StopRequests cooperative interruption and waits for the final application exit.
Statusthis.StatusGets the current application lifecycle state.
Completionthis.CompletionWaits for the root workflow and its scope finalizers to complete.

Stop

this.Stop
Member
Requests cooperative interruption and waits for the final application exit.

Returns

Async<Exit<'value, 'error>>

Status

this.Status
Member
Gets the current application lifecycle state.

Returns

AppStatus

Completion

this.Completion
Member
Waits for the root workflow and its scope finalizers to complete.

Returns

Async<Exit<'value, 'error>>